<{include file="top.html" }>
	</head>
	<body>
    <div class="xy-panel">
        <div class="xy-panel-top">
            <div class="xy-titlebar">
                <div class="xy-titlebar-left">
                    <a class="insertBefore_left_arrow_gray" href="javascript:void(0);"></a>
                </div>
                <div class="xy-titlebar-title">核销记录</div>
                <div class="xy-titlebar-right"></div>
            </div>
        </div>
        <div class="xy-panel-content" style="bottom:0;">
            <div class="VerificationRecordTop">
            	<img class="VerificationImg" src="<{$uid|headpic}>">
            	<ul class="VerificationStaff">
                	<li>商户：<span><{$restaurantName}></span></li>
                	<li>门店：<span><{$storeName}></span></li>
                	<li>核销员：<span><{$verificationName}></span><i><{$jobNum}></i></li>
                </ul>
            </div>
            <div class="VerificationRecordBottom">
            	<h3 class="VerificationRecordTopic">核销次数：<span><{$verifyNum}></span>次</h3>
                <ul class="VerificationRecordCon">
					<{include file="Card/shopConsume_log_item.html" }>
                </ul>
            </div>
        
        
        
        
        </div>
    </div>
	<script>

			var GETCOMMENTDEFAULTLISTRUI = "<{U('shopConsume_log_ajax')}>";
			var page=2;
			var loadFlag =1;
			$('.xy-panel-content').scroll(function() {
				//当内容滚动到底部时加载新的内容
				if ($(this).scrollTop() + $(window).height() + 20 >= $(document).height() && $(this).scrollTop() > 20) {
					//当前要加载的页码
					if(loadFlag){
						loadFlag = 0;
						$.getJSON(GETCOMMENTDEFAULTLISTRUI, {page: page}, function (data) {
							if(data.status != 0){
								layer.msg("数据获取失败，请稍后重试或联系管理员解决！");
							}else{
								++page;
								$(".VerificationRecordCon").append(data.dataHTML);
								if(data.isPage) loadFlag=1;
							}
						});
					}
				}
			});

	</script>
	<{include file="signBody.html"}>

</body>
</html>


